<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  
  <title>阿栋的博客 | 翻身不粘锅</title>

  
  <meta name="author" content="A栋">
  

  
  <meta name="description" content="随笔随记，遇到什么记录什么，主要撰写学习大前端路上遇到的难题和心得。共勉">
  

  
  <meta name="keywords" content="blog">
  

  <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black">

  

  <meta property="og:site_name" content="阿栋的博客"/>

  
  <meta property="og:image" content="/blog/favicon.ico"/>
  

  <link href="/blog/favicon.ico" rel="icon">
  <link rel="alternate" href="/blog/atom.xml" title="阿栋的博客" type="application/atom+xml">
  <link rel="stylesheet" href="/blog/css/style.css" media="screen" type="text/css">
<meta name="generator" content="Hexo 4.2.1"></head>


<body>
<div class="blog">
  <div class="content">

    <header>
  <div class="site-branding">
    <h1 class="site-title">
      <a href="/blog/">阿栋的博客</a>
    </h1>
    <p class="site-description">翻身不粘锅</p>
  </div>
  <nav class="site-navigation">
    <ul>
      
        <li><a href="/blog/">主页</a></li>
      
        <li><a href="/blog/archives">归档</a></li>
      
    </ul>
  </nav>
</header>

    <main class="site-main posts-loop">
    
  <article>

  
    
    <h3 class="article-title"><a href="/blog/jenkins/jenkins-gitea-continuous-integration/"><span>Jenkins + Gitea实现持续集成</span></a></h3>
    
  

  <div class="article-top-meta">
    <span class="posted-on" style="margin-left: 0;">
      <a href="/blog/jenkins/jenkins-gitea-continuous-integration/" rel="bookmark">
        <time class="entry-date published" datetime="2020-07-27T21:46:02.000Z">
          2020-07-28
        </time>
      </a>
    </span>
    
  </div>


  

  <div class="article-content">
    <div class="entry">
      
        <p><em>本文默认你已安装 <a href="https://www.jenkins.io/zh/doc/book/installing/" target="_blank" rel="noopener">jenkins</a>和 <a href="https://docs.gitea.io/en-us/install-with-docker/" target="_blank" rel="noopener">gitea</a></em></p>
<p>持续集成是指开发代码的实践，当上传代码之后，立即进行单元测试，与原代码相比判断是否可以集成到一起。每次集成通过自动构建的校验，发现构建中的错误</p>
<p>下面将介绍在Docker容器内，使用Jenkins和Gitea完成代码自动化打包、发布和部署的两种方案</p>
        
      
    </div>

  </div>

  <div class="article-footer">
    <div class="article-meta pull-left">

    
      

    <span class="post-categories">
      <i class="icon-categories"></i>
        <a href="/blog/categories/自动化/">自动化</a>, <a href="/blog/categories/jenkins/">jenkins</a>
    </span>
    

    
    

    <span class="post-tags">
      <i class="icon-tags"></i>
        <a href="/blog/tags/jenkins/">jenkins</a><a href="/blog/tags/gitea/">gitea</a><a href="/blog/tags/持续集成/">持续集成</a><a href="/blog/tags/webhook/">webhook</a>
    </span>
    

    </div>

    
  </div>
</article>



  <article>

  
    
    <h3 class="article-title"><a href="/blog/git/setting-up-gitea-service/"><span>在CentOS上使用Docker Compose搭建Gitea服务</span></a></h3>
    
  

  <div class="article-top-meta">
    <span class="posted-on" style="margin-left: 0;">
      <a href="/blog/git/setting-up-gitea-service/" rel="bookmark">
        <time class="entry-date published" datetime="2020-07-27T19:17:13.000Z">
          2020-07-28
        </time>
      </a>
    </span>
    
  </div>


  

  <div class="article-content">
    <div class="entry">
      
        <p><em>本文默认你已安装了 <a href="https://docs.docker.com/engine/install/centos/" target="_blank" rel="noopener">docker</a>和 <a href="https://docs.docker.com/compose/install/" target="_blank" rel="noopener">docker-compose</a></em></p>
<p>因为gitlab太吃内存了，个人要搭私服还是挺吃力的，相比于gitea就友好的多了。安装简单、轻量、占用资源少，非常适合小团队开发。下面就来简单举例使用gitea搭建git服务</p>
        
      
    </div>

  </div>

  <div class="article-footer">
    <div class="article-meta pull-left">

    
      

    <span class="post-categories">
      <i class="icon-categories"></i>
        <a href="/blog/categories/docker/">docker</a>, <a href="/blog/categories/git/">git</a>
    </span>
    

    
    

    <span class="post-tags">
      <i class="icon-tags"></i>
        <a href="/blog/tags/gitea/">gitea</a><a href="/blog/tags/docker/">docker</a><a href="/blog/tags/docker-compose/">docker compose</a><a href="/blog/tags/git/">git</a>
    </span>
    

    </div>

    
  </div>
</article>




<nav class="pagination">
  
  
</nav>
    </main>

    <footer class="site-footer">
  <p class="site-info">
    Proudly powered by <a href="https://hexo.io/" target="_blank">Hexo</a> and
    Theme by <a href="https://github.com/CodeDaraW/Hacker" target="_blank">Hacker</a>
    </br>
    
    &copy; 2020 A栋
    
  </p>
  
    <!-- 不蒜子统计 -->
    <span id="busuanzi_container_site_pv">
      本站总访问量<span id="busuanzi_value_site_pv"></span>次
    </span>
    <span class="post-meta-divider">|</span>
    <span id="busuanzi_container_site_uv" style='display:none'>
      本站访客数<span id="busuanzi_value_site_uv"></span>人
    </span>
    <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
  
</footer>
    
  </div>
</div>
</body>
</html>